package com.hongyi.dao;

import com.hongyi.pojo.TStudent;
import java.util.List;
import java.util.Map;

public interface TStudentMapper {

    int deleteByPrimaryKey(Integer studentNo);

    int insert(TStudent record);

    TStudent selectByPrimaryKey(Integer studentNo);

    List<TStudent> selectAll(TStudent record);

    int updateByPrimaryKey(TStudent record);
    
    /**
     * 查询学生总成绩
     * @param student
     * @return
     */
    Map<String,Object> selectFinalScore(TStudent student);
    
    /**
     * 查询学生账号信息
     * @param student
     * @return
     */
    List<TStudent> selectloginStudent(TStudent student);
    
}